//
//  CWQ_HistoryLearnCell.m
//  BaxTer
//
//  Created by 陈武琦 on 16/9/2.
//  Copyright © 2016年 陈武琦. All rights reserved.
//

#import "CWQ_HistoryLearnCell.h"
#import "BTCourseModel.h"
#import "UIImageView+BTimageView.h"
@implementation CWQ_HistoryLearnCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
//    [self.icon yy_setImageWithURL:[NSURL URLWithString:@"http://image.tianjimedia.com/uploadImages/2015/129/56/J63MI042Z4P8.jpg"] placeholder:[UIImage imageNamed:@"暂无图片.jpg"] options:YYWebImageOptionProgressive | YYWebImageOptionProgressiveBlur | YYWebImageOptionSetImageWithFadeAnimation completion:nil];
}

- (void)setModel:(BTCourseModel *)model {
    _model = model;
//    [self.icon yy_setImageWithURL:[NSURL URLWithString:model.icon] placeholder:[UIImage imageNamed:@"暂无图片.jpg"] options:YYWebImageOptionProgressive | YYWebImageOptionProgressiveBlur | YYWebImageOptionSetImageWithFadeAnimation completion:nil];
    self.title.text = model.courseName;
//    self.overdue.text = model.date;
   // self.persent.text = model.persent;
    //[self.icon bt_setImageWithUrl:model.icon];
}


- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
